package top.yuzt.noticeserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author yuzt
 * @since 2024-05-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Messagefiles implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "FileID", type = IdType.AUTO)
    private Integer fileid;

    @TableField("MessageID")
    private Integer messageid;

    @TableField("FilePath")
    private String filepath;

    @TableField("OrgFilename")
    private String orgfilename;

    @TableField("RealFilename")
    private String realfilename;

    @TableField("isPic")
    private Integer ispic;

    public Messagefiles(){}

    public Messagefiles(Integer messageid, String filepath, String orgfilename,String realfilename, Integer ispic){
        this.messageid = messageid;
        this.filepath = filepath;
        this.orgfilename = orgfilename;
        this.realfilename = realfilename;
        this.ispic = ispic;
    }

    public String getOrgfilename() {
        return orgfilename;
    }

    public void setOrgfilename(String orgfilename) {
        this.orgfilename = orgfilename;
    }

    public String getRealfilename() {
        return realfilename;
    }

    public void setRealfilename(String realfilename) {
        this.realfilename = realfilename;
    }

    public Integer getFileid() {
        return fileid;
    }

    public void setFileid(Integer fileid) {
        this.fileid = fileid;
    }

    public Integer getMessageid() {
        return messageid;
    }

    public void setMessageid(Integer messageid) {
        this.messageid = messageid;
    }

    public String getFilepath() {
        return filepath;
    }

    public void setFilepath(String filepath) {
        this.filepath = filepath;
    }

    public Integer getIspic() {
        return ispic;
    }

    public void setIspic(Integer ispic) {
        this.ispic = ispic;
    }
}
